package com.example.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

@Entity
@Table(name = "channel")
public class Channel implements Serializable {

    @Id
    @Column(name = "pkid")
    private Integer pkId;

    @Column(name = "channel_name")
    private String channelName;

    @Column(name = "channel_info")
    private String channelInfo;

    @Column(name = "price")
    private BigDecimal price;

    @Column(name = "channel_conf")
    private String channelConf;

    @Column(name = "channel_status")
    private String channelStatus;

    @Column(name = "channel_type")
    private String channelType;

    @Column(name = "gateway_id")
    private Integer gatewayId;

    public Integer getPkId() {
        return pkId;
    }

    public void setPkId(Integer pkId) {
        this.pkId = pkId;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getChannelInfo() {
        return channelInfo;
    }

    public void setChannelInfo(String channelInfo) {
        this.channelInfo = channelInfo;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getChannelConf() {
        return channelConf;
    }

    public void setChannelConf(String channelConf) {
        this.channelConf = channelConf;
    }

    public String getChannelStatus() {
        return channelStatus;
    }

    public void setChannelStatus(String channelStatus) {
        this.channelStatus = channelStatus;
    }

    public String getChannelType() {
        return channelType;
    }

    public void setChannelType(String channelType) {
        this.channelType = channelType;
    }

    public Integer getGatewayId() {
        return gatewayId;
    }

    public void setGatewayId(Integer gatewayId) {
        this.gatewayId = gatewayId;
    }
}
